CUSTOMER SEGMENTATION MODEL

Importing all relevent Libraries

Loading data

understanding dataset

Plotting density plots

Plotting heatmap to understand correlation between attributes

Segmentation using two attributes (Annual Income and Spending Score)

WCSS (Within Cluster Sum of Squares)

Finding WCSS values for different number of clusters

Plotting elbow graph

Visualization

plotting all the cluster and centroids

3D PLOT

Segmentation using 3 attributes (Age, Income,Spending score)